{include file="layout/layout" /}
<body style="background-color: #FFF; overflow: auto;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>商城设置</h3>
                <h5>网站全局内容基本选项设置</h5>
            </div>
            <ul class="tab-base nc-row">
                {foreach name="group_list" item="v" key="k"}
                <li><a href="{:url('System/index',['inc_type'=> $k])}" {if condition="$k==$inc_type"}class="current"{/if}><span>{$v}</span></a></li>
                {/foreach}
            </ul>
        </div>
    </div>
    <!-- 操作说明 -->
    <div class="explanation" id="explanation">
        <div class="title" id="checkZoom"><i class="fa fa-lightbulb-o"></i>
            <h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
            <span id="explanationZoom" title="收起提示"></span> </div>
        <ul>
            <li>系统平台全局设置,包括基础设置、购物、短信、邮件、水印和分销等相关模块。</li>
        </ul>
    </div>
    <form method="post" id="handlepost" action="{:url('System/pay')}" name="form1">
        <input type="hidden" name="inc_type" value="{$inc_type}">
        <div class="ncap-form-default">
            <dl class="row">
                <dt class="tit">
                    <label for="pay_appid">支付APPID[app_id]</label>
                </dt>
                <dd class="opt">
                    <input id="pay_appid" name="pay_appid" value="{$config.pay_appid}" class="input-txt" type="text"/>
                    <p class="notic">支付APP_ID/APP_ID</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="pay_appsecret">支付秘钥[APP_SECRET]</label>
                </dt>
                <dd class="opt">
                    <input id="pay_appsecret" name="pay_appsecret" value="{$config.pay_appsecret}" class="input-txt" type="text"/>
                    <p class="notic">支付秘钥[APP_SECRET]</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="pay_mchid">商户号[MCHID]</label>
                </dt>
                <dd class="opt">
                    <input id="pay_mchid" name="pay_mchid" value="{$config.pay_mchid}" class="input-txt" type="text"/>
                    <p class="notic">支付功能商户号</p>
                </dd>
            </dl>
            <!--<dl class="row">-->
                <!--<dt class="tit">-->
                    <!--<label for="pay_ceshi">测试</label>-->
                <!--</dt>-->
                <!--<dd class="opt">-->
                    <!--<input id="ceshi" value="" placeholder="请输入手机号码" class="input-txt" type="text"/>-->
                    <!--<button type="button" id="button-ceshi">测试</button>-->
                    <!--<p class="notic">此为测试功能</p>-->
                <!--</dd>-->
            <!--</dl>-->
            <div class="bot"><a href="JavaScript:void(0);" id = "form-submit"class="ncap-btn-big ncap-btn-green" >确认提交</a></div>
        </div>
    </form>
</div>
<div id="goTop"> <a href="JavaScript:void(0);" id="btntop"><i class="fa fa-angle-up"></i></a><a href="JavaScript:void(0);" id="btnbottom"><i class="fa fa-angle-down"></i></a></div>
</body>
<script type="text/javascript">
    $('#form-submit').click(function(){
        layer.open({
            content:'此数据非常重要，请确定是否修改？',
            icon:3,
            btn: ['确定', '取消'],
            yes:function (index) {
                document.form1.submit()
            },
            btn2:function(index, layero){ //重置表单
                document.getElementById("handlepost").reset();
            }
        })

    })
</script>
</html>